package com.qf.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("t_shop_car")
public class Car {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer uid;
    private Integer gid;
    private Integer count;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date createTime;


}
